package com.mpb.prj.practice;

import java.io.IOException;


public class JPLFDCalculationTestCase {
	
	public static void main(String s[]) throws IOException{
		//testWorking();
		//testNotWorking();
		testXtandem();
	}
	
	public static void testWorking() throws IOException{
		JPLFDRCalculation calc = new JPLFDRCalculation();
		double val = calc.calculateFDR("C://DATA//UDAY//SWETHA//project//XtandemParams//Data//working", "2008_12_11_ALS_30_LY01_J10_XTandem.xml");
	}
	
	public static void testNotWorking() throws IOException{
		JPLFDRCalculation calc = new JPLFDRCalculation();
		double val = calc.calculateFDR("C://DATA//UDAY//SWETHA//project//XtandemParams//Data//not working", "2008_12_11_ALS_30_LY01_J10_XTandem.xml");
	}
	public static void testXtandem() throws IOException{
		JPLRunXTandemBatchMain exec=new JPLRunXTandemBatchMain();
		exec.runXTandem("C:/DATA/UDAY/SWETHA/project/XtandemParams/XTandem", "C://DATA//UDAY//SWETHA//project//XtandemParams//Data//new_input.xml", "C:/DATA/UDAY/SWETHA/project/XtandemParams/Data/IN", "2008_12_11_ALS_30_LY01_J10.mgf", "C:/DATA/UDAY/SWETHA/project/XtandemParams/Data/OUT");
		JPLFDRCalculation calc = new JPLFDRCalculation();
		double val = calc.calculateFDR("C://DATA//UDAY//SWETHA//project//XtandemParams//Data//OUT", "2008_12_11_ALS_30_LY01_J10_XTandem.xml","C://DATA//UDAY//SWETHA//project//XtandemParams//Data//new_input.xml");
	}
}
